a = (10,20,[30,40])
print("a:",id( a))

def change(a):
    a[2][0] = 100
    print("a:",id(a))
    print("a[2]:",id(a[2]))
    print("a:",a)


change(a)
print("a:",a)
# a: 2012469886656
# a: 2012469886656
# a[2]: 2012462895040
# a: (10, 20, [100, 40])
# a: (10, 20, [100, 40])